<%form_remote_tag :url => customer_addresses_url(@customer), :before => "spinnerOn('addresses');", :complete => "spinnerOff('addresses');" do %>
<div class="container">
    <%=render :partial => 'addresses/form' %>
    <div style="clear:both">
    </div>
</div>
<div class="buttons">
    <%=button_cancel 'addresses', customer_addresses_url(@customer) %><%=button_ok %>
</div>
<div style="clear:both">
</div>
<%end %>